<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
    <link rel="stylesheet" href="../css/register.css">
</head>
<body>
    <div class="register-container">
        <form id="registerForm">
            <h2>用户注册</h2>
            <div class="form-group">
                <label for="username">用户名:</label>
                <input type="text" id="username" name="username" required>
            </div>
            <div class="form-group">
                <label for="password">密码:</label>
                <input type="password" id="password" name="password" required>
            </div>
            <div class="form-group">
                <label for="confirmPassword">确认密码:</label>
                <input type="password" id="confirmPassword" name="confirmPassword" required>
            </div>
            <div class="button-group">
                <button type="submit" id="submitBtn">注册</button>
                <button type="button" id="backBtn">返回登录</button>
            </div>
        </form>
    </div>

    <!-- 弹窗 -->
    <div id="modal" class="modal">
        <div class="modal-content">
            <h3>注册成功</h3>
            <p>工号：<span id="workId"></span></p>
            <button id="closeModal">确定</button>
        </div>
    </div>

    <script src="../js/register.js"></script>
</body>
</html> 